<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景</title>
  </head>
  <style>
    /* 
    背景：
      1.background-image:可以设置多张背景图片，第一张显示不出来，后面才可以显示
      2.background-repeat:no-repeat/repeat(默认)/repeat-x/repeat-y

     */
    .content {
      height: 600px;
      background-color: pink;
      background-image: url('../img/dog.gif'), url("../img/1.jpg");
      background-repeat: repeat-x;
    }
  </style>

  <body>
    <div class="content"></div>
  </body>

</html>